package com.green.voluntaryfiling.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.SpringApplication;

/**
 * Created with IntelliJ IDEA.
 * @Author: Green
 * @Date: 2022/03/18/0:15
 * @Description: 
 */


@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "all_university_info")
public class UniversityInfo {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 校徽
     */
    @TableField(value = "badge")
    private String badge;

    /**
     * 学校名称
     */
    @TableField(value = "university_name")
    private String universityName;

    /**
     * 高校所在地
     */
    @TableField(value = "location")
    private String location;

    /**
     * 高校类型
     */
    @TableField(value = "type")
    private String type;

    /**
     * 学校隶属
     */
    @TableField(value = "subjection")
    private String subjection;

    /**
     * 高校性质
     */
    @TableField(value = "character_uni")
    private String characterUni;

    /**
     * 是否为985
     */
    @TableField(value = "is_985")
    private String is985;

    /**
     * 是否为211
     */
    @TableField(value = "is_211")
    private String is211;

    /**
     * 学校网址
     */
    @TableField(value = "url")
    private String url;


    /**
     * 学校录取分数
     */
    @TableField(exist = false)
    private Integer score;

    /**
     * 学校录取排名
     */
    @TableField(exist = false)
    private Integer ranking;

    /**
     * 预测概率
     */
    @TableField(exist = false)
    private Double prediction;

    /**
     * 录取人数
     */
    @TableField(exist = false)
    private Integer acceptedNum;

    public static final String COL_UNIVERSITY_ID = "university_id";

    public static final String COL_BADGE = "badge";

    public static final String COL_UNIVERSITY_NAME = "university_name";

    public static final String COL_LOCATION = "location";

    public static final String COL_TYPE = "type";

    public static final String COL_SUBJECTION = "subjection";

    public static final String COL_CHARACTER = "character";

    public static final String COL_IS_985 = "is_985";

    public static final String COL_IS_211 = "is_211";

    public static final String COL_URL = "url";
}